<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />

    <title>Hello React!</title>

    <script src="https://unpkg.com/react@^16/umd/react.production.min.js"></script>
    <script src="https://unpkg.com/react-dom@16.13.0/umd/react-dom.production.min.js"></script>
    <script src="https://unpkg.com/babel-standalone@6.26.0/babel.js"></script>
  </head>

  <body>
    <div id="root"></div>

    <!-- <script type="text/babel">
      // React code will go here
      console.log(React, ReactDOM);
      class App extends React.Component {
        render() {
          return <h1>Hello world!</h1>;
        }
      }

      ReactDOM.render(<App />, document.getElementById("root"));
    </script> -->
    <script>
      class App extends React.Component {
        render() {
          return /*#__PURE__*/ React.createElement("h1", {
            children: "Hello world!",
          });
        }
      }
      ReactDOM.render(
        /*#__PURE__*/ React.createElement(App, {}),
        document.getElementById("root")
      );
    </script>
  </body>
</html>
